<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./css/index.css">
    <title>登陆框交互</title>
</head>

<body>
    <div class="cont">
        <input type="radio" name="chkzc" id="chkzc">
        <input type="radio" name="chkzc" id="chkdl">
        <div class="dibu">
            <div class="leftBox">
                <h2>没有账号？</h2>
                <p>点击按钮注册成为会员</p>
                <label for="chkdl" class="bot bot_zc">
                    注册
                </label>
            </div>
            <div class="rightBox">
                <h2>已有账号？</h2>
                <p>点击按钮会员登录</p>
                <label for="chkzc" class="bot bot_dl">
                    登陆
                </label>
            </div>
        </div>
        <div class="denglu">
            <form action="" class="zc">
                <h2>注册</h2>
                <input type="text" placeholder="名称">
                <input type="email" placeholder="邮箱">
                <input type="password" placeholder="密码">
                <button>注册</button>
            </form>
            <form action="" class="dl">
                <h2>登陆</h2>
                <input type="email" placeholder="邮箱">
                <input type="password" placeholder="密码" class="passbox">
                <a href="#">忘记密码？</a>
                <button>注册</button>
            </form>
        </div>
    </div>
</body>

</html>